package dao;

import dao.dto.AdresseDto;
import dao.dto.ClientParticulierDto;
import dao.dto.ClientSocieteDto;
import dao.dto.InterventionDto;
import boerrors.InterventionExistantException;
import boerrors.InterventionInexistantException;
import java.util.Vector;

public abstract class InterventionDao {
    
	public abstract int enregistrer(InterventionDto intervention) 
                throws InterventionExistantException;
        public abstract void planifier(InterventionDto intervention) 
                throws InterventionInexistantException;
        public abstract void traiter(InterventionDto intervention) 
                throws InterventionInexistantException;
        public abstract void cloturer(InterventionDto intervention) 
                throws InterventionInexistantException ;
        public abstract void annuler(InterventionDto intervention) 
                throws InterventionInexistantException ;
        public abstract void deplanifier(InterventionDto intervention) 
                throws InterventionInexistantException ;
        public abstract void replanifier(InterventionDto intervention) 
                throws InterventionInexistantException ;
        public abstract int suivi(InterventionDto ancienIntervention,InterventionDto nouvelleIntervention) 
                throws InterventionInexistantException ;
        public abstract Vector<InterventionDto> lister() 
                throws InterventionInexistantException ;
        public abstract Vector<InterventionDto> listerHistorique() 
                throws InterventionInexistantException ;
        public abstract Vector<InterventionDto> rechercherHistorique(ClientParticulierDto client) 
                    throws InterventionInexistantException ;
        public abstract InterventionDto selectHistoriqueId(int idIntervention) 
                    throws InterventionInexistantException ;
        public abstract void modifier(InterventionDto intervention) 
                throws InterventionInexistantException ;
        /*public abstract void planifier(InterventionDto intervention)
                throws InterventionInexistantException;
	public abstract void deplanifier(InterventionDto intervention)
                throws InterventionInexistantException;
	public abstract void traiter(InterventionDto intervention)
                throws InterventionInexistantException;
	public abstract void cloturer(InterventionDto intervention)
                throws InterventionInexistantException;
	public abstract void annuler(InterventionDto intervention)
                throws InterventionInexistantException;
	public abstract void modifier(InterventionDto intervention)
                throws InterventionInexistantException;
        
        public abstract InterventionDto rechercher(long idIntervention) 
                throws InterventionInexistantException;
	public abstract Vector <InterventionDto> rechercher(ClientParticulierDto client) 
                throws InterventionInexistantException;
	public abstract Vector <InterventionDto> rechercher(ClientSocieteDto client) 
                throws InterventionInexistantException;
	public abstract Vector<InterventionDto> rechercher(AdresseDto adresse) 
                throws InterventionInexistantException;*/
}
